answer "The invisible flag of “" & appname & "” is" && it & "."
else
answer it with "Sorry"
end if
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=108 top=54 right=76 bottom=208
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SetInvisible
----- HyperTalk script -----
on mouseUp
answer file "Choose a file to work with:"
put it into appname
if appname = "" then exit to hypercard
if getInvisible(appname) then
answer "Change Invisible flag to what?" with "True" or "False"
else
answer "Change Invisible flag to what?" with "False" or "True"
end if
setInvisible appname,it
if the result ≠ "" then answer the result with "Sorry"
end mouseUp
-- part contents for card part 9
----- text -----
GetInvisible takes one parameter, the pathname of the file you want to examine. SetInvisible takes two parameters, the pathname of the file and TRUE or FALSE indicating your choice of setting. Click on and/or examine the scripts of the buttons above to see how it works!
A small shareware fee of $5 is requested if you use this external in any “in-house”, shareware or freeware products. The registration fee for development and prototyping of a future commercial product is $10. The registration fee for unlimited commercial use in a SINGLE “for sale” product is $15. The fee for unlimited commercial use with MULTIPLE products is $25. These are life-time registrations. You are entitled to all future shareware updates without further cost.
If you have questions or comments I can be reached through the following:
Jeffrey Donald Iverson CompuServe: 76675,1772
3841 Whispering Way Drive SE #101 AppleLink: ALL.AMERICAN